package br.unesp.rc.rafaelt.business.to;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import br.unesp.rc.rafaelt.model.bean.Subject;


@XmlRootElement(name = "subjectList")
public class SubjectListTO {

	private List<Subject> subjectList = new ArrayList<Subject>();

	public SubjectListTO() {
	}

	public SubjectListTO(List<Subject> subjectList) {
		this.subjectList = subjectList;
	}

	@XmlElement(name = "subject")
	public List<Subject> getSubjectList() {
		return subjectList;
	}

	public void setSubjectList(List<Subject> subjectList) {
		this.subjectList = subjectList;
	}
}